package com.example.demo2.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.demo2.pojo.employee;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface employeeDao  extends BaseMapper<employee> {

    @Select("select * from employee")
    List<employee> selectALL();


    employee  selectByPrimaryKey(Integer id);

    Integer deleteByid(Integer id);

    Integer inserts(employee employee);

    Integer updateByid(employee employee);








}
